//
//  LWJBaseRequest.h
//  HengYouCai
//
//  Created by ycgwl on 2017/5/11.
//  Copyright © 2017年 lwj. All rights reserved.
//

#import "BaseObject.h"
typedef void(^successHandler)(id responseObject,NSInteger statusCode);
typedef void(^failHandler)(NSError *e,NSInteger statusCode,NSString *errorMsg);

@interface LWJBaseRequest : BaseObject


+ (void)doHttpWithUrl:(NSString *)url andMetohd:(NSString *)method andParameters:(NSDictionary *)parameters andHeaders:(NSDictionary *)headers withSuccessHandler:(successHandler)successHandler andFailHandler:(failHandler)failHandler;


@end
